package com.dime.physical.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.dime.basic.api.domain.DimeBaseharm;
import com.dime.physical.domain.dto.PhysicalCombDto;
import com.dime.physical.domain.dto.PhysicalharmsDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 企业套餐管理对象 dime_basepackage
 *
 * @author Tiny
 * @date 2023-09-19
 */
public class DimeBasepackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** soa订单号 */
    @Excel(name = "soa订单号")
    private String orderCode;

    /** 套餐编码 */
    @Excel(name = "套餐编码")
    private String packageCode;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String packageName;

    /** 在岗状态 */
    @Excel(name = "在岗状态")
    private String checkTypeEnum;

    /** 单位ID */
    @Excel(name = "单位ID")
    private String companyNameId;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal packageOriginalPrice;

    /** 折扣价 */
    @Excel(name = "折扣价")
    private BigDecimal packageDiscountPrice;

    /** 适用性别 */
    @Excel(name = "适用性别")
    private String sexEnum;

    /** 婚否 */
    @Excel(name = "婚否")
    private String marriageTag;

    /** 有效期始 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期始", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 有效期止 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期止", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 审核标记 */
    @Excel(name = "审核标记")
    private Integer examineTag;

    /** 审核人 */
    @Excel(name = "审核人")
    private String examiner;

    /** 审核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date examineDate;

    /**  */
    @Excel(name = "")
    private Integer publicTag;

    /** 套餐描述 */
    @Excel(name = "套餐描述")
    private String description;

    /**  */
    @Excel(name = "")
    private Integer IsValid;

    /**  */
    @Excel(name = "")
    private String shopCode;

    /** 套餐类型 */
    @Excel(name = "套餐类型")
    private String type;


    @Excel(name = "在岗状态")
    private String worktype;

    @Excel(name = "接害因素")
    private String touchHarms;


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setOrderCode(String orderCode)
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode()
    {
        return orderCode;
    }
    public void setPackageCode(String packageCode)
    {
        this.packageCode = packageCode;
    }

    public String getPackageCode()
    {
        return packageCode;
    }
    public void setPackageName(String packageName)
    {
        this.packageName = packageName;
    }

    public String getPackageName()
    {
        return packageName;
    }
    public void setCheckTypeEnum(String checkTypeEnum)
    {
        this.checkTypeEnum = checkTypeEnum;
    }

    public String getCheckTypeEnum()
    {
        return checkTypeEnum;
    }
    public void setCompanyNameId(String companyNameId)
    {
        this.companyNameId = companyNameId;
    }

    public String getCompanyNameId()
    {
        return companyNameId;
    }
    public void setPackageOriginalPrice(BigDecimal packageOriginalPrice)
    {
        this.packageOriginalPrice = packageOriginalPrice;
    }

    public BigDecimal getPackageOriginalPrice()
    {
        return packageOriginalPrice;
    }
    public void setPackageDiscountPrice(BigDecimal packageDiscountPrice)
    {
        this.packageDiscountPrice = packageDiscountPrice;
    }

    public BigDecimal getPackageDiscountPrice()
    {
        return packageDiscountPrice;
    }
    public void setSexEnum(String sexEnum)
    {
        this.sexEnum = sexEnum;
    }

    public String getSexEnum()
    {
        return sexEnum;
    }
    public void setMarriageTag(String marriageTag)
    {
        this.marriageTag = marriageTag;
    }

    public String getMarriageTag()
    {
        return marriageTag;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setExamineTag(Integer examineTag)
    {
        this.examineTag = examineTag;
    }

    public Integer getExamineTag()
    {
        return examineTag;
    }
    public void setExaminer(String examiner)
    {
        this.examiner = examiner;
    }

    public String getExaminer()
    {
        return examiner;
    }
    public void setExamineDate(Date examineDate)
    {
        this.examineDate = examineDate;
    }

    public Date getExamineDate()
    {
        return examineDate;
    }
    public void setPublicTag(Integer publicTag)
    {
        this.publicTag = publicTag;
    }

    public Integer getPublicTag()
    {
        return publicTag;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setIsValid(Integer IsValid)
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid()
    {
        return IsValid;
    }
    public void setShopCode(String shopCode)
    {
        this.shopCode = shopCode;
    }

    public String getShopCode()
    {
        return shopCode;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public List<PhysicalCombDto> getPhysicalCombDtoList() {
        return physicalCombDtoList;
    }

    public void setPhysicalCombDtoList(List<PhysicalCombDto> physicalCombDtoList) {
        this.physicalCombDtoList = physicalCombDtoList;
    }

    public List<PhysicalCombDto> physicalCombDtoList;


    public List<DimeBaseharm> getDimeBaseharmList() {
        return dimeBaseharmList;
    }

    public void setDimeBaseharmList(List<DimeBaseharm> dimeBaseharmList) {
        this.dimeBaseharmList = dimeBaseharmList;
    }

    public  List<DimeBaseharm> dimeBaseharmList;

//    public List<PhysicalharmsDto> getPhysicalharmsDtoList() {
//        return physicalharmsDtoList;
//    }
//
//    public void setPhysicalharmsDtoList(List<PhysicalharmsDto> physicalharmsDtoList) {
//        this.physicalharmsDtoList = physicalharmsDtoList;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderCode", getOrderCode())
                .append("packageCode", getPackageCode())
                .append("packageName", getPackageName())
                .append("checkTypeEnum", getCheckTypeEnum())
                .append("companyNameId", getCompanyNameId())
                .append("packageOriginalPrice", getPackageOriginalPrice())
                .append("packageDiscountPrice", getPackageDiscountPrice())
                .append("sexEnum", getSexEnum())
                .append("marriageTag", getMarriageTag())
                .append("startDate", getStartDate())
                .append("endDate", getEndDate())
                .append("examineTag", getExamineTag())
                .append("examiner", getExaminer())
                .append("examineDate", getExamineDate())
                .append("publicTag", getPublicTag())
                .append("description", getDescription())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("IsValid", getIsValid())
                .append("shopCode", getShopCode())
                .append("type", getType())
                .append("worktype", getWorktype())
                .toString();
    }

    public String getWorktype() {
        return worktype;
    }

    public void setWorktype(String worktype) {
        this.worktype = worktype;
    }

    public String getTouchHarms() {
        return touchHarms;
    }

    public void setTouchHarms(String touchHarms) {
        this.touchHarms = touchHarms;
    }
}
